package com.interheart.framecore.dto;


import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;

/**
 * @Auther: SHIKAI
 * @Date: 2019/4/25 11:32
 */

public class PageDto<T> extends Page {

    @JSONField(serialize = false)
    private boolean isSearchCount = true;

    @JSONField(name = "data")
    private List<T> records;

    @JSONField(serialize = false)
    private List<OrderItem> orders;

    public PageDto(long current, long size, boolean isSearchCount) {
        super(current, size, isSearchCount);
    }


}
